<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<!DOCTYPE html>
<html lang="zh">
<head>
    <?php
    $title = [
        'title' => '主页',
    ];
    $this->load->view('/admin/common/header', $title);
    ?>
    
</head>

<body data-type="widgets">
<script src="/assets/js/theme.js"></script>
	<div class="am-g tpl-g">
		<!-- 头部   侧边菜单-->
	    <?php $this->load->view('/admin/common/bodyLeft'); ?>
	    <div class="tpl-content-wrapper">
	    <div class="row-content am-cf" style="min-width: 1000px;">
    	<div class="widget am-cf">
		<div class="widget-head am-cf">
	        <div class="widget-title  am-cf">用户信息>>
	        </div>
       </div>
			<table class="table table-hover table-bordered " >
				<tr>
					<td>用户名</td>
					<td><?php echo $this->session->userdata('username'); ?></td>															
				</tr>
				<tr>
					<td>昵称</td>
					<td><?php echo $this->session->userdata('nickname'); ?></td>
				</tr>
				<tr>
					<td>角色</td>
					<td><?php echo $this->session->userdata('role'); ?></td>
				</tr>
				<tr>
					<td>登录时间</td>
					<td><?php echo date('Y-m-d H:i', $this->session->userdata('logintime')); ?></td>
				</tr>
			</table>
		</div>
		</div>
		</div>

	</div>
</body>
<script src="/assets/js/app.js"></script>
</html>
